package com.wicket.okrapp.integration.dto;

import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Objects;

/**
 * @desc HaveTargetMySubordinateDto
 * @使用场景
 */
@Data
public class HaveTargetMySubordinateDto
  extends BaseDto
  implements Serializable {

  /**
   * 虚拟组织成员ID
   */
  @ApiModelProperty("虚拟组织成员ID")
  private String virtualOrgMemberId;

  /**
   * 虚拟组织成员就职记录ID
   */
  @ApiModelProperty("虚拟组织成员就职记录ID")
  private String virtualOrgInductionRecordId;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      HaveTargetMySubordinateDto that = (HaveTargetMySubordinateDto) o;
      return  virtualOrgMemberId == that.virtualOrgMemberId&&virtualOrgInductionRecordId == that.virtualOrgInductionRecordId;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), virtualOrgMemberId,virtualOrgInductionRecordId);
    }

}
